package interfaces.rechercheiti;

import javax.swing.JPanel;

public abstract class PanelPref extends JPanel {
	boolean indifferent = true;
    PanelRechercheItineraire ri;
    LabelNumero labelNumero = new LabelNumero();
    FlecheMonter flecheMonter = new FlecheMonter(this);
    FlecheDescendre flecheDescendre= new FlecheDescendre(this);

	public boolean isIndifferent() {
		return indifferent;
	}
	public void setIndifferent(boolean _indifferent) {
		indifferent = _indifferent;
		signalerOrdre();
	}
	public void signalerOrdre() {
		ri.updateNumeros();
	}
	public void signalerMonter() {
		ri.monter(this);
	}
	public void signalerDescendre() {
		ri.descendre(this);
	}
}